package oop7;

import oop6.pet2.Penguin;

/**
 * @author oldliu
 * @since 1.0
 */
public class BeijiPenguin extends Penguin {
    public BeijiPenguin(String name){
        super(name);
    }

    @Override
    public void print() {
        super.print();
        System.out.println("这是一只北极企鹅");
    }

//    @Override
//    public void swim() {
//        System.out.println(super.getName()+"在北极的海水中游泳抓鱼");
//    }
}
